package com.example.springboot_shiro.service;

import com.example.springboot_shiro.domain.test.User;
import com.example.springboot_shiro.domain.test.Role;

import java.util.List;

/**
 * @author: lqy
 * @date: 2021/9/8 14:10
 * @description:
 */
public interface UserService {
    User findByUserName(String userName);

    int register(User user);

    List<Role> findRolesByUserId(String userName);
}
